package com.ewing.busi.api.login.dto;


public class SmsAuthorizeReq {
  public SmsAuthorizeReq() {
    super();
  }

  public SmsAuthorizeReq(String code, String phone, String cookie, String pass,
      String confirmPass,Integer login) {
    super();
    this.code = code;
    this.phone = phone;
    this.cookie = cookie;
    this.pass = pass;
    this.confirmPass = confirmPass;
    this.login = login;
  }

  /**
   * code作为换取access_token的票据，每次用户授权带上的code将不一样，code只能使用一次，5分钟未被使用自动过期。
   */
  private String code;

  private String phone;

  private String cookie;

  private String pass;

  private String confirmPass;

  /**
   * 1 表示登陆 2表示丢失密码
   */
  private Integer login;


  public Integer getLogin() {
    return login;
  }

  public void setLogin(Integer login) {
    this.login = login;
  }

  public String getPass() {
    return pass;
  }

  public void setPass(String pass) {
    this.pass = pass;
  }

  public String getConfirmPass() {
    return confirmPass;
  }

  public void setConfirmPass(String confirmPass) {
    this.confirmPass = confirmPass;
  }

  public String getCookie() {
    return cookie;
  }

  public void setCookie(String cookie) {
    this.cookie = cookie;
  }

  public String getCode() {
    return code;
  }

  public void setCode(String code) {
    this.code = code;
  }

  public String getPhone() {
    return phone;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }

  @Override
  public String toString() {
    return "SmsAuthorizeReq [code=" + code + ", phone=" + phone + ", getCode()=" + getCode()
        + ", getPhone()=" + getPhone() + "]";
  }

}
